<template>
	<view class="historwriteoff">
		<view class="title">累计记录：{{total}}条</view>
		<view class="list">
			<view class="list_meun" v-for="(item,index) in list" :key="index">
				<view class="list_title">
					<text class="list_text">核销时间</text>
					<view class="list_name">{{item.verify_time}}</view>
				</view>
				<view class="list_title">
					<text class="list_text">核销景区</text>
					<view class="list_name">{{item.scenic}}</view>
				</view>
				<view class="list_title">
					<text class="list_text">核销员</text>
					<view class="list_name">{{item.name}}</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import { getVerifyLog } from '../../api/admin.js';
	export default {
		data() {
			return {
				list:[],
				total:0
			}
		},
		mounted() {
			
		},
		onLoad(options){
			this.id = options.id;
			this.getVerifyLog(options.id);
		},
		methods:{
			getVerifyLog(id){
				let that = this;
				getVerifyLog({id:id}).then(res => {
					if(res.code == 1){
						that.list = res.data.list;
						that.total = res.data.total;
					}
				})
			},
		}
		
	}
</script>

<style lang="scss">
	page{
		background: RGBA(249, 249, 249, 0.75) !important;
	}
	.historwriteoff{
		padding: 0 30rpx;
		.title{
			font-size: 26rpx;
			font-family: PingFang SC;
			font-weight: 400;
			color: #5C5B5B;
			letter-spacing: 2rpx;
			margin: 50rpx 0 30rpx 0;
		}
		.list{
			.list_meun{
				height: 205rpx;
				background: #FFFFFF;
				border-radius: 20rpx;
				display: flex;
				align-items: center;
				justify-content: space-around;
				flex-direction: column;
				padding: 0 30rpx;
				margin-bottom: 20rpx;
				
				.list_name{
					font-size: 30rpx;
					font-family: PingFang SC;
					font-weight: bold;
					color: #1A1A1A;
				}
				.list_title{
					display: flex;
					align-items: center;
					justify-content: space-between;
					width: 100%;
				}
				.list_text{
					font-size: 26rpx;
					font-family: PingFang SC;
					font-weight: 400;
					color: #5C5B5B;
				}
			}
		}
	}
</style>